﻿using UnityEngine;
using System.Collections;
using System;

// 游戏引擎，驱动其他类和对象
public class GameEngine : MonoBehaviour
{
    public event Action FixedUpdateCallback;
    public event Action<float> UpdateCallback;
    // Use this for initialization
    void Start()
    {
    }

    private void FixedUpdate()
    {
    }

    // Update is called once per frame
    void Update()
    {
        if (FixedUpdateCallback != null) { FixedUpdateCallback(); }
    }
}
